import 'vant/lib/index.css';
import './assets/main.scss'



import {
	createApp
} from 'vue'
import {
	createPinia
} from 'pinia'
import piniaPersist from 'pinia-plugin-persist'
import App from './App.vue'
import router from './router'
import mixin from './mixin.js'
import lang from './lang.js'
import loginState from './loginState.js'


const pinia = createPinia();
pinia.use(piniaPersist);//  引入持久化插件 
const app = createApp(App)
.use(pinia)
.use(router)
.use(mixin)
.use(lang)
.use(loginState)
.mount('#app')